
package com.testfileupload.uploadimg.design.commandmode.currency;

public class ConcreateCommand1 extends Command{
    //对哪个receiver进行处理
    private Receiver receiver;

    public ConcreateCommand1(Receiver receiver) {
        this.receiver = receiver;
    }

    @Override
    public void execute() {
        this.receiver.doSomething();
    }
}
